package com.system.couponserver.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel
public class Coupon{
  @ApiModelProperty(name = "coupon_Id",notes = "主键")
  private Integer coupon_Id; //主键
  @ApiModelProperty(name = "coupon_Userid",notes = "商家的userId")
  private Integer coupon_Userid;//商家的userId
  @ApiModelProperty(name = "coupon_Money",notes = "优惠券")
  private double coupon_Money;//优惠券
  @ApiModelProperty(name = "coupon_Number",notes = "优惠券数量")
  private Integer coupon_Number;//优惠券数量
  @ApiModelProperty(name = "coupon_Startmoney",notes = "条件金额")
  private double coupon_Startmoney;//条件金额
  @ApiModelProperty(name = "coupon_Starttime",notes = "开始日期")
  @JsonFormat(
          pattern = "yyyy-MM-dd HH:mm:ss",
          timezone = "GMT+8"
  )
  private java.sql.Timestamp coupon_Starttime;//（有效期）开始日期
  @ApiModelProperty(name = "coupon_Endtime",notes = "结束日期")
  @JsonFormat(
          pattern = "yyyy-MM-dd HH:mm:ss",
          timezone = "GMT+8"
  )
  private java.sql.Timestamp coupon_Endtime;//（有效期）结束日期
  @ApiModelProperty(name = "coupon_Statue",notes = "状态（1.待使用2.已使用，3.已过期）")
  private Integer coupon_Statue;//状态（1.待使用2.已使用，3.已过期）
  @ApiModelProperty(name = "count",notes = "总页数")
  private int count; // 总页数
  @ApiModelProperty(name = "currentPsge",notes = "当前页码数")
  private int currentPsge;//当前页码数
  @ApiModelProperty(name = "pageSize",notes = "每页显示好多条")
  private int pageSize;
  @ApiModelProperty(name = "coupon_name",notes = "优惠劵名字")
  private String coupon_name;//优惠劵名字

  public String getCoupon_name() {
    return coupon_name;
  }

  public void setCoupon_name(String coupon_name) {
    this.coupon_name = coupon_name;
  }

  public int getCount() {
    return count;
  }

  public int getPageSize() {
    return pageSize;
  }

  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
  }

  public void setCount(int count) {
    this.count = count;
  }

  public int getCurrentPsge() {
    return currentPsge;
  }

  public void setCurrentPsge(int currentPsge) {
    this.currentPsge = currentPsge;
  }

  public Integer getCoupon_Id() {
    return coupon_Id;
  }

  public void setCoupon_Id(Integer coupon_Id) {
    this.coupon_Id = coupon_Id;
  }

  public Integer getCoupon_Userid() {
    return coupon_Userid;
  }

  public void setCoupon_Userid(Integer coupon_Userid) {
    this.coupon_Userid = coupon_Userid;
  }

  public double getCoupon_Money() {
    return coupon_Money;
  }

  public void setCoupon_Money(double coupon_Money) {
    this.coupon_Money = coupon_Money;
  }

  public Integer getCoupon_Number() {
    return coupon_Number;
  }

  public void setCoupon_Number(Integer coupon_Number) {
    this.coupon_Number = coupon_Number;
  }

  public double getCoupon_Startmoney() {
    return coupon_Startmoney;
  }

  public void setCoupon_Startmoney(double coupon_Startmoney) {
    this.coupon_Startmoney = coupon_Startmoney;
  }

  public Timestamp getCoupon_Starttime() {
    return coupon_Starttime;
  }

  public void setCoupon_Starttime(Timestamp coupon_Starttime) {
    this.coupon_Starttime = coupon_Starttime;
  }

  public Timestamp getCoupon_Endtime() {
    return coupon_Endtime;
  }

  public void setCoupon_Endtime(Timestamp coupon_Endtime) {
    this.coupon_Endtime = coupon_Endtime;
  }

  public Integer getCoupon_Statue() {
    return coupon_Statue;
  }

  public void setCoupon_Statue(Integer coupon_Statue) {
    this.coupon_Statue = coupon_Statue;
  }
}
